package com.yuyou.activity.group.service.mapper;

import com.yuyou.activity.group.service.vo.resp.RespCanActivityGroupSPList;
import org.apache.ibatis.annotations.Mapper;

import com.yuyou.activity.group.service.entity.ActivityGroupbuy;
import org.apache.ibatis.annotations.Param;

import java.util.List;

@Mapper
public interface ActivityGroupbuyMapper {
    int deleteByPrimaryKey(Long activityGroupbuyId);

    int insert(ActivityGroupbuy record);

    ActivityGroupbuy selectByPrimaryKey(Long activityGroupbuyId);

    int updateByPrimaryKeySelective(ActivityGroupbuy record);

    List<ActivityGroupbuy> getFailActivity();

    List<RespCanActivityGroupSPList> findMoreCanActivityGroupBuy(@Param(value = "projectCode") String projectCode, @Param(value = "limit") int limit);
}